package com.ncu.gulimall.product.vo;

import com.ncu.gulimall.product.entity.SkuImagesEntity;
import com.ncu.gulimall.product.entity.SkuInfoEntity;
import com.ncu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    // 1.Sku基本信息 - pms_sku_info
    private SkuInfoEntity info;
    private Boolean hasStock = true; // 是否有货
    // 2.sku图片信息 - pms_sku_images
    private List<SkuImagesEntity> images;
    // 3.获取spu的销售属性组合
    private List<SkuItemSaleAttrVo> saleAttr;
    // 4.spu的介绍
    private SpuInfoDescEntity desp;
    // 5.spu规格参数信息
    private List<SpuItemAttrGroupVo> groupAttrs;
    // 6.秒杀信息
    private SeckillInfoVo seckillInfo;
}
